package com.guli.edu.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: OneSubject  一级分类
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/3/8 12:51
 * @Version: v1.0
 */
@Data
public class OneSubject {

    private String id;

    private String title;

    // 一个一级分类中有多个二级分类
    private List<TwoSubject> children = new ArrayList<>();


}
